import request from '/@/utils/request';

export function getModelList(params?: Object) {
  return request({
    url: '/bum/regmodel/page',
    method: 'get',
    params
  })
} 
//新增
export function addModelList(params?: Object) {
  return request({
    url: '/bum/regmodel',
    method: 'post',
    data: params
  })
} 
export function editModelList(params?: Object) {
  return request({
    url: '/bum/regmodel',
    method: 'put',
    data: params
  })
} 
//删除
export function delModelList(ids?: Object) {
  return request({
    url: '/bum/regmodel',
    method: 'delete',
		data: ids,
  })
} 